/*
 * ChatMessage.java
 *
 * Created on 2007年4月14日, 上午10:40
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.ecomm.chat.pojo;

import com.ecomm.platcore.app.CommonGeneralModel;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.*;

/**
 * @author pijunliang
 */

public class ChatMessage  extends CommonGeneralModel {
  
  /** Creates a new instance of ChatMessage */
  public ChatMessage() {
  }
  /**
   *群聊ID或是单聊ID
   */
  private String  parentid;
  
  /**
   *
   *其它模块的URL
   */
  private String  message;
  /**
   *其它模块的URL
   */
  private String url ;
  /**
   *当BIGTYPE 为 2时
   *1．是单聊 2。是群聊 3。其它模块
   */
  private String type ;
  /**
   *发送人
   */
  private String  senduserid;
  /**
   *1.工作流 2非工作流
   */
  private String bigtype ;
  /**
   *发送时间
   */
  private String sendtime ;
  /**
   *接收人
   *要是有多个，请以“，”（逗号）分开
   */
  private String acceptUserid;
  
  private String state;
  
  private String sendbegintime;
  
  private String sendendtime;
  
  
  private Set<ChatRemind> chatRemind = new HashSet();
  
  public String getMessage() {
    return message;
  }
  
  public void setMessage(String message) {
    this.message = message;
  }
  
  public String getUrl() {
    return url;
  }
  
  public void setUrl(String url) {
    this.url = url;
  }
  
  public String getType() {
    return type;
  }
  
  public void setType(String type) {
    this.type = type;
  }
  
  public String getSenduserid() {
    return senduserid;
  }
  
  public void setSenduserid(String senduserid) {
    this.senduserid = senduserid;
  }
  
  
  public String getSendtime() {
    return sendtime;
  }
  
  public void setSendtime(String sendtime) {
    this.sendtime = sendtime;
  }
  
  public String getBigtype() {
    return bigtype;
  }
  
  public void setBigtype(String bigtype) {
    this.bigtype = bigtype;
  }
  
  public Set getChatRemind() {
    return chatRemind;
  }
  
  public void setChatRemind(Set chatRemind) {
    this.chatRemind = chatRemind;
  }
  
  public String getAcceptUserid() {
    return acceptUserid;
  }
  
  public void setAcceptUserid(String acceptUserid) {
    this.acceptUserid = acceptUserid;
  }
  
  public String getParentid() {
    return parentid;
  }
  
  public void setParentid(String parentid) {
    this.parentid = parentid;
  }

  public String getState() {
    return state;
  }

  public void setState(String state) {
    this.state = state;
  }

  public String getSendbegintime() {
    return sendbegintime;
  }

  public void setSendbegintime(String sendbegintime) {
    this.sendbegintime = sendbegintime;
  }

  public String getSendendtime() {
    return sendendtime;
  }

  public void setSendendtime(String sendendtime) {
    this.sendendtime = sendendtime;
  }
  
}
